package main

import "fmt"

func main()  {
	a :=[]int{1,2,3,0,0}
	s :=a[0:3:5]
	fmt.Println("s=",s)
	fmt.Println("len(s_=",len(s))
	fmt.Println("cap(s)=",cap(s))


	z :=a[1:3:5]
	fmt.Println("z=",z)
	fmt.Println("len(z=",len(z))
	fmt.Println("cap(z)=",cap(z))
}
